home *** CD-ROM | disk | FTP | other *** search
- // --------------------------------------------------------------------------------------------------------------
- //
- // MPackMUI V1.01 Main Header
- //
- // --------------------------------------------------------------------------------------------------------------
-
- #include <exec/types.h>
- #include <intuition/classusr.h>
- #include <libraries/mui.h>
-
- #include <clib/alib_protos.h>
- #include <proto/dos.h>
- #include <proto/exec.h>
- #include <proto/intuition.h>
-
- #include <stdlib.h>
- #include <string.h>
-
- #include "Enum.h"
-
- // --------------------------------------------------------------------------------------------------------------
-
- // Internal Prototypes
-
- void OpenLibraries();
- void HandleIDCMP();
- void CleanUp();
-
- // External Prototypes
-
- void CreateGUI();
- void DoEasyReq(char *);
- void OpenPrefs(char *);
- void FreeList(struct List *);
-
- // Library bases
-
- struct Library *MUIMasterBase = NULL;
-
- // GUI stuff
-
- Object *App = NULL;
- Object *Windows[WID_LAST];
- Object *Gadgets[GID_LAST];
- APTR Menus[MEN_LAST];
-
- // Miscellaneous
-
- BOOL Running = TRUE; /* When FALSE, program quits */
-
- const char *DefaultMIMETypes[] = {
- "application/octet-stream",
- "application/x-zip",
- "application/x-tar",
- "application/x-lha",
- "application/x-lzx",
- "audio/x-8svx",
- "audio/wav",
- "audio/au",
- "audio/mpeg",
- "image/x-ilbm",
- "image/gif",
- "image/jpeg",
- "image/png",
- "image/bmp",
- "image/xbm",
- "video/x-anim",
- "video/avi",
- "video/mpeg",
- NULL
- };
-
- char *MIMETypes[256] = {NULL};
-
- struct List MIMEList;
-
- // --------------------------------------------------------------------------------------------------------------
-
- // End Of Text
-